package com.content.Mapper.artist;

import com.content.Entity.artist.School;
import com.content.Entity.artist.SchoolFeatures;
import com.content.Entity.artist.SchoolInheritance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SchoolMapper {
     void deleteSchool(String schoolId);


    void deleteSchoolFeatures(String schoolId);


    List<School> getSchoolList(@Param("schoolName") String schoolName);

    void addSchool(School school);

    void addSchoolFeatures(SchoolFeatures schoolFeatures);

    List<SchoolFeatures> getSchoolFeatures(String schoolId);

    void updateSchool(School school);

    List<SchoolInheritance> getSchoolInheritance(String schoolId);
}
